# Maintainer: Robert Hencke <robert.hencke@gmail.com>
pkgname=xfce4-genmon-plugin
pkgver=4.0.2
pkgrel=0
pkgdesc="A generic, script-driven monitoring plugin for the Xfce panel"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin"
arch="all !mips !mips64" # blocked by libxfce4ui-dev
license="LGPL-2.1-or-later"
makedepends="xfce4-panel-dev libxfce4ui-dev"
options="!check" # no tests
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-genmon-plugin/${pkgver%.*}/xfce4-genmon-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="78a9cd95a83d6ffcb512647f1c674589bf80e4ef24a3431be96fd7506c7642e42c796f7316e034083fe794ab79521d856083b12a186276a1dfe4f14dbe97149e  xfce4-genmon-plugin-4.0.2.tar.bz2"
